package com.hison.tandainbao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hison.tandainbao.entiy.pojo.domain.TbBlog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hison
* @description 针对表【tb_blog】的数据库操作Mapper
* @createDate 2024-03-21 20:47:41
* @Entity com/hison/tandainbao.entiy/pojo/domain.TbBlog
*/
public interface TbBlogMapper extends BaseMapper<TbBlog> {


    List<TbBlog> getBlogByName(@Param("name") String name);

    int updateStatusByAdmin(@Param("blogId") String blogId, @Param("status") Integer status);
}
